﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_REP_CHECK_REPORT
// * CreateDate    : 2012-1-9 17:21:25
// * Creater       : CodeSmith
// * LastChangeDate: 2012-1-9 17:21:25
// * LastChanger   : 2012-1-9 17:21:25
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class RepCheckReportTable : TableInfo
    {
        public const string C_TableName = "REP_CHECK_REPORT";

        public const string C_CHECK_REPORT_ID = "CHECK_REPORT_ID";
        public const string C_CHECK_INFO_ITEM_ID = "CHECK_INFO_ITEM_ID";
        public const string C_MEDIA_NAME = "MEDIA_NAME";
        public const string C_MEDIA_TEMPERATURE = "MEDIA_TEMPERATURE";
        public const string C_PRESSURE01 = "PRESSURE01";
        public const string C_SEAL_LIQUID = "SEAL_LIQUID";
        public const string C_PRESSURE02 = "PRESSURE02";
        public const string C_TEMPERATURE = "TEMPERATURE";
        public const string C_MAINSHAFT_SPEED = "MAINSHAFT_SPEED";
        public const string C_MAINSHAFT_DIRECTION = "MAINSHAFT_DIRECTION";
        public const string C_FLUSHING_PLAN = "FLUSHING_PLAN";

        public RepCheckReportTable()
        {
            _tableName = "REP_CHECK_REPORT";
        }

        protected static RepCheckReportTable _current;
        public static RepCheckReportTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new RepCheckReportTable();

            _current.Add(C_CHECK_REPORT_ID, new ColumnInfo(C_CHECK_REPORT_ID, "CheckReportId", true, typeof(string)));
            _current.Add(C_CHECK_INFO_ITEM_ID, new ColumnInfo(C_CHECK_INFO_ITEM_ID, "CheckInfoItemId", false, typeof(string)));
            _current.Add(C_MEDIA_NAME, new ColumnInfo(C_MEDIA_NAME, "MediaName", false, typeof(string)));
            _current.Add(C_MEDIA_TEMPERATURE, new ColumnInfo(C_MEDIA_TEMPERATURE, "MediaTemperature", false, typeof(string)));
            _current.Add(C_PRESSURE01, new ColumnInfo(C_PRESSURE01, "Pressure01", false, typeof(string)));
            _current.Add(C_SEAL_LIQUID, new ColumnInfo(C_SEAL_LIQUID, "SealLiquid", false, typeof(string)));
            _current.Add(C_PRESSURE02, new ColumnInfo(C_PRESSURE02, "Pressure02", false, typeof(string)));
            _current.Add(C_TEMPERATURE, new ColumnInfo(C_TEMPERATURE, "Temperature", false, typeof(string)));
            _current.Add(C_MAINSHAFT_SPEED, new ColumnInfo(C_MAINSHAFT_SPEED, "MainshaftSpeed", false, typeof(string)));
            _current.Add(C_MAINSHAFT_DIRECTION, new ColumnInfo(C_MAINSHAFT_DIRECTION, "MainshaftDirection", false, typeof(string)));
            _current.Add(C_FLUSHING_PLAN, new ColumnInfo(C_FLUSHING_PLAN, "FlushingPlan", false, typeof(string)));

        }

        public ColumnInfo CHECK_REPORT_ID
        {
            get { return this[C_CHECK_REPORT_ID]; }
        }

        public ColumnInfo CHECK_INFO_ITEM_ID
        {
            get { return this[C_CHECK_INFO_ITEM_ID]; }
        }

        public ColumnInfo MEDIA_NAME
        {
            get { return this[C_MEDIA_NAME]; }
        }

        public ColumnInfo MEDIA_TEMPERATURE
        {
            get { return this[C_MEDIA_TEMPERATURE]; }
        }

        public ColumnInfo PRESSURE01
        {
            get { return this[C_PRESSURE01]; }
        }

        public ColumnInfo SEAL_LIQUID
        {
            get { return this[C_SEAL_LIQUID]; }
        }

        public ColumnInfo PRESSURE02
        {
            get { return this[C_PRESSURE02]; }
        }

        public ColumnInfo TEMPERATURE
        {
            get { return this[C_TEMPERATURE]; }
        }

        public ColumnInfo MAINSHAFT_SPEED
        {
            get { return this[C_MAINSHAFT_SPEED]; }
        }

        public ColumnInfo MAINSHAFT_DIRECTION
        {
            get { return this[C_MAINSHAFT_DIRECTION]; }
        }

        public ColumnInfo FLUSHING_PLAN
        {
            get { return this[C_FLUSHING_PLAN]; }
        }



    }
}

